package com.linxiao.call.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 外呼号码配置对象 crm_out_dept_phone_no
 * 
 * @author zhoudong
 * @date 2022-05-17
 */
public class CrmOutDeptPhoneNo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商户 */
    @Excel(name = "商户")
    private Long mchId;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 用户 */
    @Excel(name = "用户")
    private String userId;

    /** 外显号码 */
    @Excel(name = "外显号码")
    private String showPhoneNo;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMchId(Long mchId) 
    {
        this.mchId = mchId;
    }

    public Long getMchId() 
    {
        return mchId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setShowPhoneNo(String showPhoneNo) 
    {
        this.showPhoneNo = showPhoneNo;
    }

    public String getShowPhoneNo() 
    {
        return showPhoneNo;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mchId", getMchId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("showPhoneNo", getShowPhoneNo())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("memo", getMemo())
            .toString();
    }
}
